package symbolTable;

import java.util.ArrayList;

public class Erro {
	public static ArrayList<String> error = new ArrayList<String>();
	
	public static void addError(String erro){
		error.add(erro);
	}
	
	public static boolean hasError(){
		if(error.isEmpty())
			return false;
		return true;
	}
}
